// wait for the DOM to be loaded 
$(document).ready(function() {


    $('#SelectRoundNr_1').change(function() {
        var id=$(this).attr('id');
        var cat_txt=$('#'+id+' :selected').val();
        
        var urlpath = 'picks/SetPicksRound/' + cat_txt;
       
        $.ajax({
         url:    urlpath,
         success: function(data) {
                $("#ContainerResult").html(data);
            },
         async:   false
        }); 
        //$("ul").listview();
        
        $("#MatchsInRound").listview();
    });
}); 